package si.cir.gui;

import si.cir.R;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;

public class TemplateActivity extends Activity{
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
	}
    
    @Override
	public boolean onCreateOptionsMenu(Menu menu) {
    	super.onCreateOptionsMenu(menu);
		MenuInflater inflater = getMenuInflater();
		inflater.inflate(R.menu.main, menu);
		return true;
    }
    
    @Override
    public boolean onPrepareOptionsMenu(Menu menu) {
    	return super.onPrepareOptionsMenu(menu);
    }
    
    public void goHome(MenuItem mi){
    	Intent intent = new Intent(this, SiNfActivity.class);
    	startActivity(intent);
    }
    
    public void goStuk(MenuItem mi){
    	Intent intent = new Intent(this, StukActivity.class);
    	startActivity(intent);
    }

    public void goSoum(MenuItem mi){
    	Intent intent = new Intent(this, SoumNoviceActivity.class);
    	startActivity(intent);
	
    }

    public void goVreme(MenuItem mi){
    	Intent intent = new Intent(this, VremeActivity.class);
    	startActivity(intent);
	
	}
}
